package homework_02.home01;

public class Demo_02 {
    public static void main(String[] args) {
        int num=121;
        int b=num/100;
        int g=num%10;
        if(b==g){
            System.out.println("是一个回文数");
        }else{
            System.out.println("不是回文数");
        }
    }
}
